<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="icon" href="/public/favicon.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>3D捏人</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        .layui-form-item {
            margin-bottom: 0 !important;
        }
        .layui-input-group {
            float: left;
        }
    </style>
    <link rel="stylesheet" href="node_modules/layui/dist/css/layui.css">
    <script src="node_modules/jquery/dist/jquery.min.js"></script>
    <script src="node_modules/babylonjs/babylon.js"></script>
    <script src="src/vue.min.js"></script>
    <script src="node_modules/layui/dist/layui.js"></script>
</head>
<body>
    <div id="controller" class="layui-form">
        <div class="layui-form-item">
            <div class="layui-input-group">
                <div class="layui-input-split layui-input-prefix">
                    前臂
                </div>
                <input type="number" class="layui-input" min="1" max="100" value="1" v-model="front_arm">
            </div>
            <div class="layui-input-group">
                <div class="layui-input-split layui-input-prefix">
                    后臂
                </div>
                <input type="number" class="layui-input" min="1" max="100" value="1" v-model="back_arm">
            </div>
        </div>
    </div>
    <canvas id="canvas"></canvas>
    <script type="text/javascript">
        var controller = new Vue({
            el: '#controller',
            data: {
                front_arm: 1,
                back_arm: 1,
            }
        });
    </script>
    <script type="text/javascript" src="/src/global.js"></script>
    <script type="text/javascript" src="/src/arm.js"></script>
    <script type="text/javascript" src="/src/main.js"></script>
</body>
</html>
